<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><s:property value="#session.access"/></title>
<meta name="viewport" content="width=device-width,inital-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/css/bootstrap.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/css/bootstrap-responsive.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/js/date/skin/WdatePicker.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/date/WdatePicker.js"></script>
<script type="text/javascript">

</script>
</head>
<body>
	<div class="container">
		
		<s:action name="global_menu"  executeResult="true"></s:action>
		
		<div class="row">
			<div class="span12">
					
					<h5>
						链接历史
					</h5>
					
					<form id="sform" action="link_list.html" method="get" enctype="multipart/form-data">
						<table>
							<tr>
								<td height="40">
									<s:textfield  id="lnkNo" name="lnkNo" placeholder="网站编号"></s:textfield>
								</td>
							</tr>
							<tr>
								<td height="40">
									<s:textfield  id="lnkName" name="lnkName" placeholder="网站域名"></s:textfield>
								</td>
							</tr>
							<tr>
								<td height="40">
									<s:textfield  id="lnkDateTop"  name="lnkDateTop" placeholder="创建日期起"  onclick="WdatePicker();"  cssStyle="width:100px;" ><s:param name="value"><s:date name="lnkDateTop" format="yyyy-MM-dd"/></s:param></s:textfield>
									 - 
									<s:textfield  id="lnkDateEnd"  name="lnkDateEnd" placeholder="创建日期止"  onclick="WdatePicker();"  cssStyle="width:100px;" ><s:param name="value"><s:date name="lnkDateEnd" format="yyyy-MM-dd"/></s:param></s:textfield>
								</td>
							</tr>
							<tr>
								<td height="40">
									<input type="button"    class="btn btn-primary"  value="查询" onclick="sform.submit();"/>
								</td>
							</tr>
						</table>
					</form>
					
					<ul class="tasks zebra-list">
						<s:iterator value="linkList" id="show" status="seq">
						<li>
							<span class="meta">
								<s:property value="#show.lnkNo"/> 
							</span>
							<span class="title">
								<s:property value="#show.lnkName"/>
							</span>
							<span class="meta">
							<a target="_blank" href="<s:property value="#show.lnkInfo"/>">链接预览</a> <a href="<%=request.getContextPath() %>/link_show.html?lnkNo=<s:property value="#show.lnkNo"/>">查看链接</a> |
							<s:text name="global.format.dateminute"><s:param value="#show.lnkDate"/></s:text>
							</span>
							<span class="meta">
								<s:property value="#show.lnkRemark"/>
							</span>
							
						</li>
						</s:iterator>
					</ul>
					
					<%String paga="/"+session.getAttribute("access")+"/page.jsp"; %>
					<s:set name="pageInfo" value="pageInfo"></s:set> <jsp:include flush="true" page="<%=paga %>"></jsp:include>
					
					<div class="hero-unit" style="padding: 15px;font-size: 12px;line-height: 20px;">
						<p>
							1 . 链接预览可以直接使用提交的用户数据来打开支付界面
						</p>
					</div>
					
				</div>
		</div>
		
		
		<s:action name="global_foot"  executeResult="true"></s:action>
	</div>
</body>
</html>

